package edu.xidian.forum.service;

import com.baomidou.mybatisplus.extension.service.IService;
import edu.xidian.forum.entity.Favorite;
import edu.xidian.forum.entity.User;

public interface FavoriteService extends IService<Favorite> {
    public Favorite like(User user, String topic_id);

    public void unlike(Favorite favorite);

    public Favorite hasliked(User user, String topic_id);
}
